fsck: Mark commits with missing or deleted object partial
authorAlexander Larsson <alexl@redhat.com>
Fri, 6 Apr 2018 13:39:43 +0000 (15:39 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 14 Apr 2018 15:36:21 +0000 (15:36 +0000)
commit474556b95547d75fe1cc4c2131a878489c7a3f82
tree551ea7147b911364800c2fc87953582fa6f8f88c
parentf258e9e5ff25e5c814bb54e4eb27e34841e913e5
fsck: Mark commits with missing or deleted object partial

This means we can later use various operations to heal the repository
because ostree does not assume all objects are there.

This the begining of a fix for https://github.com/ostreedev/ostree/pull/345

Closes: #1533
Approved by: cgwalters
src/ostree/ot-builtin-fsck.c
tests/installed/nondestructive/itest-pull.sh
tests/test-corruption.sh